Alpha_TARGA_split_n_merge:
--------------------------

1.) Introduction:
--------------------------
With this little tool it's possible to split 32 Bit RGB-Alpha TGA's of Type 2
into a RGB 24 Bit TGA of Type 2 which represents the RGB part of the original picture
and a RGB 24 Bit TGA of Type 2 (RGB values are shades of gray) which represents the Alpha part of the original picture.

And it's also possible to merge two 24 Bit RGB TGA's of Type 2 or 32 Bit RGB-Alpha TGA's of Type 2 into one 32 Bit RGB-Alpha TGA of Type 2.
In this merging process the RGB values of the first picture and the Red value of the second picture are taken to write the new TGA.
The height and width of both pictures must be equal.

Type 2:
uncompressed 24 / 32 Bit = RGB(A)

2.) Split
--------------------------
Pressing the "Split"-Button starts the first Macro.

An "open file" dialog appears.
Choose the filename of the 32 Bit RGB-Alpha TGA type 2 that will be split.

A "save file as" dialog appears.
Choose the name of the RGB part file that will be written.
Default value is the filename of "open file" with extension "_RGB".

A second "save file as" dialog appears.
Choose the name of the Alpha part file that will be written.
Default value is the filename of "open file" with extension "_AAA".

If no error appears the two files will be written.

The Alpha part file is also an RGB file.
But the colors are shades of gray.

3.) Merge
--------------------------
Pressing the "Merge"-Button starts the second Macro.

An "open file" dialog appears.
Choose the filename 24/32 Bit Alpha part TGA of type 2.

A second "open file" dialog appears.
Choose the filename 24/32 Bit RGB part TGA of type 2.

A "save file as" dialog appears.
Choose the name of the new RGB-Alpha file that will be written.
Default value is the filename of the Alpha part file with extension "_MERGED".

If no error appears the merged file will be written.

Notes:
--------------------------
The pictures that you want to merge must not be physically the same.
Just make a copy if you want to use the red part of the RGB Image to become the alpha part.

Contact:
--------------------------
nUllSkillZ@hotmail.com